var e = getApp(), o = require("../../../api.js");

Page({
    data: {
        order: null,
        reduce: null,
        total: null,
        order_no: ""
    },
    onLoad: function(o) {
        console.log("支付详情", o), this.setData({
            order_no: o.order_no
        }), o.uid && e.shareCouponsMessage(o.uid);
    },
    onReady: function() {},
    onShow: function() {
        var n = this;
        e.request({
            url: o.order.getfind,
            method: "post",
            data: {
                order_no: n.data.order_no
            },
            success: function(e) {
                n.setData({
                    order: e.data
                });
            }
        });
    },
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {
        var o = e.shareAppMessage().title, n = e.shareAppMessage().imageUrl, a = e.shareAppMessage().desc, s = e.shareAppMessage().path;
        return console.log(e.shareAppMessage()), {
            title: o,
            imageUrl: n,
            desc: a,
            path: s
        };
    }
});